package cn.yhz.pethome.dept.service;

import cn.yhz.pethome.base.util.ResultBean;
import cn.yhz.pethome.dept.Query.DepartmentQuery;
import cn.yhz.pethome.dept.domain.Department;

import java.util.List;

public interface IDepartmentService {
    //查询所有和分页
    ResultBean<Department> query(DepartmentQuery query);
    //查询一个
    Department selectById(Long id);

    //新增
    void insert(Department department);
    //修改
    void update(Department department);
    //删除
    void delete(Long id);
}
